﻿window.onload = function() {
    var urlInfo = window.location.href;
    var intLen = urlInfo.length;
    var offset = urlInfo.indexOf("?");
    var strKeyValue = urlInfo.substr(offset, intLen);
    var arrParam = strKeyValue.split("=");
    var strParamValue = arrParam[1];
    var ifrURL = "";
    if (strParamValue == "1") {
        ifrURL = "Axiangmujianjie.htm";
    }
    if (strParamValue == "5") {
        ifrURL = "zuixindongtai.htm";
    }
    document.getElementById("jieshao").src = ifrURL;
}